// src/main/java/com/xxxy/ljh/myapplication/Dao/SignupDao.java
package com.xxxy.ljh.myapplication.Dao;

import com.xxxy.ljh.myapplication.model.Signup;
import java.util.List;

public interface SignupDao {
    long signupForActivity(Signup signup);
    boolean hasSignedUp(int activityId, int userId);
    List<Signup> getSignupsByActivityId(int activityId);
    List<Signup> getSignupsByUserId(int userId);
    boolean updateSignupStatus(int signupId, int status);
    boolean updateAttendanceStatus(int signupId, int attendanceStatus);
    Signup getSignupById(int signupId);
    int getSignupCount(int activityId);
}
